package DaEr1_1;

public class LianXi1 {
    public static void main(String[] args) {
        int a,b,c;
        a=7;
        b=29;
        c=a+b;
        System.out.println("a,b加法运算：");
        System.out.println(a+"+"+b+"=" + c);
        System.out.println("----------------");
        System.out.println("prefect!");
        c=a-b;
        System.out.println("a,b减法运算：");
        System.out.println(a+"-"+b+"=" + c);
        System.out.println("----------------");
        System.out.println("prefect!");
        c=a*b;
        System.out.println("a,b乘法运算：");
        System.out.println(a+"*"+b+"=" + c);
        System.out.println("----------------");
        System.out.println("prefect!");
        float c1;
        c1=a*1.0f/b;
        System.out.println("a,b除法运算：");
        System.out.println(a+"/"+b+"=" + c1);
        System.out.println("----------------");
        System.out.println("prefect!");
    }
}
